﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Fjaspx.UI.Web.UCenter
{
    public partial class Workflow_Admin : AdminPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Bind();
                if (Request["del"] != null)
                {
                    ___ROYcms_Workflow_bll.Delete(Convert.ToInt32(Request["del"]));
                    Bind();
                } 
            }
        }
        void Bind() 
        
        {
            Repeater_list.DataSource = ___ROYcms_Workflow_bll.GetAllList();
            Repeater_list.DataBind();
        }
    }
}
